package Tao;

public class Product {
	String name;
	double price;
	int num;
	public Product(String name,double price,int num){
		this.name=name;
		this.price=price;
		this.num=num;
	}
	public String toString() {
		return "name=" + name + ", price=" + price + ", num=" + num ;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	
	
}


